﻿using RemoteSensingImageDirectServer.Untils.ScopeSpace;

namespace RemoteSensingImageDirectServer.Models.Map.Register
{
    /// <summary>
    /// 联合图层配置信息表
    /// </summary>
    public class GroupMapConfiger
    {
        /// <summary>
        /// 图层唯一编码
        /// </summary>
        public string Key { get; set; }

        /// <summary>
        /// 图层名称
        /// </summary>
        public string GroupName { get; set; }

        /// <summary>
        /// 最小层级
        /// </summary>
        public int MinLevel { get; set; }

        /// <summary>
        /// 最大层级
        /// </summary>
        public int MaxLevel { get; set; }

        /// <summary>
        /// 投影信息
        /// </summary>
        public int EPSG { get; set; }

        /// <summary>
        /// 投影下的数据发布范围
        /// </summary>
        public RasterEnvelope BoundBox { get; set; }

        /// <summary>
        /// 经纬度发布范围
        /// </summary>
        public RasterEnvelope LatLonBoundingBox { get; set; }

        /// <summary>
        /// 影像波段顺序
        /// </summary>
        public int[] Bands { get; set; }

        /// <summary>
        /// 图层缓存数据位置
        /// </summary>
        public GroupMapProperties Properties { get; set; }

        /// <summary>
        /// 元数据信息
        /// </summary>
        public string MetaData { get; set; }

        /// <summary>
        /// 掩膜文件路径
        /// </summary>
        public string MaskFile { get; set; }

        /// <summary>
        /// 图层是否使用了直方图
        /// 0: 未使用
        /// 1: 使用了直方图
        /// </summary>
        public int UseHistogram { get; set; }

        /// <summary>
        /// 直方图信息表
        /// </summary>
        public BandHistograms[] BandProperties { get; set; }
    }
}
